// 自定义设备方向枚举
import 'dart:async';

import 'package:sensors_plus/sensors_plus.dart';

enum MYDeviceOrientation {
  portrait,
  landscapeLeft,
  landscapeRight,
  faceUp,
  faceDown,
  unknown,
}

class MYDeviceOrientationManager {
  // 使用自定义的物理方向枚举
  MYDeviceOrientation _myDeviceOrientation = MYDeviceOrientation.unknown;
  StreamSubscription<AccelerometerEvent>? _accelerometerSubscription;
}